package com.pace.day04;import com.pace.day04.methodAop.aspect.Audience;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.ComponentScan;import org.springframework.context.annotation.Configuration;import org.springframework.context.annotation.EnableAspectJAutoProxy;/** * @Auther: Administrator * @Date: 2019/3/28 0028 22:49 * @Description: */@Configuration@EnableAspectJAutoProxy@ComponentScan(basePackages = {"com.pace.day04"})public class AopConfig {    @Bean    public Audience getAudi(){        return new Audience();    }}